#!/bin/bash

TARGET_ARCH="powerpc-linux"
TOOLCHAIN_PREFIX="/opt/${TARGET_ARCH}/toolchain"
TOOLCHAIN_SYSROOT="/opt/${TARGET_ARCH}/sysroot"

KERNEL_VERSION="2.6.29"
KERNEL_CONFIG=ps3_kernel_2.6.29
TARGET_VENDOR_PATCH=ps3

SQUASHFS_LZMA=no

. ./sets/packages-basic.inc
. ./sets/packages-mmlibs.inc
. ./sets/packages-libs.inc

. ./sets/packages-xorg-xlib.inc
. ./sets/packages-x-gtk2.inc
. ./sets/packages-xorg-xserver.inc

. $RULES_DIR/xf86-input-evdev.sh
. $RULES_DIR/xf86-input-joystick.sh
. $RULES_DIR/xf86-input-keyboard.sh
. $RULES_DIR/xf86-input-mouse.sh
. $RULES_DIR/xf86-video-fbdev.sh

. ./sets/packages-xorg-apps.inc
. ./sets/packages-xorg-fonts.inc

. ./sets/packages-xorg-msttcorefonts.inc

#. ./sets/packages-emulators.inc

. ./sets/packages-x-apps.inc

. ./sets/packages-hal.inc

. ./sets/packages-x-lxde.inc

. ./sets/packages-x-office.inc

. ./sets/packages-bluetooth.inc

. ./sets/packages-x-vkeyboard.inc

. $RULES_DIR/sixaxisdmouse.sh

. ./sets/packages-devel.inc

. $RULES_DIR/ps3-utils.sh
. $RULES_DIR/spufs.sh

# added by chrisv
. $RULES_DIR/libspe2.sh
. $RULES_DIR/spu-tools.sh
. $RULES_DIR/libspeutils.sh
. $RULES_DIR/spu-medialib.sh
. $RULES_DIR/mplayer-ps3.sh
# note cv 2009-05-23: smbclient compiles, but does not really work yet
. $RULES_DIR/libiconv.sh
. $RULES_DIR/smbclient.sh
# these do not work, too
#. $RULES_DIR/fuse.sh
#. $RULES_DIR/fusesmb.sh

. $RULES_DIR/tweak-ps3.sh

. ./sets/packages-host-squashfs4.inc
. $RULES_DIR/create_initramfs.sh
. $RULES_DIR/create_squashfs.sh
. $RULES_DIR/create_ps3cd.sh
